let axios = require('axios');
axios({
  method: 'GET',
  params: {q: '你好'},
  url: 'https://gitee.com/search/translate'
}).then(res => {
  console.log(res.data)
}).catch(err => {
  console.log(err);
  // resolve(undefined);
})
